﻿@{
    Layout = null;
}
<!DOCTYPE html> 
<html>
    <head>
        <title>@Language.Get("空托管理")</title>
        @Html.Partial("commonMeta")
		<link rel="stylesheet" href="~/css/product_add.css?v=@Wholesaler.Common.Version.Get">
		<link rel="stylesheet" href="~/css/jquery.dad.css?v=@Wholesaler.Common.Version.Get">
    </head>
    <body>
	<div class="views">
		<div class="view view-main">
			<div class="navbar">
				<div class="navbar-inner">
		             @* 头部start *@
		            <header id="common_header">
	                	<a class="menu_icon_box" href="javascript:history.go(-1);">
							<b class="back-btn"></b>
						</a>
	                	<h2 id="page_title">@Language.Get("空托新增")</h2>
		            </header>
					<!--<div class="term_btn show_term_btn">
						<a href="javascript:history.go(-1)">返回</a>
					</div>-->

		            @* 引入菜单 *@
		            @Html.Partial("teammenu")
		        </div>
		    </div>
         	<div class="toolbar toolbar-bottom">
		    	<div class="toolbar-inner form_btn">
		    		<a href="#" class="reset_btn" id="reset_btn">@Language.Get("重置")</a>
		     		<a href="#" class="submit_btn sure1" id="submit_btn">@Language.Get("确定")</a>
		     		<a href="#" style="display:none" class="submit_btn sure2" disabled="disabled" id="submit_btn">@Language.Get("确定")</a>
				</div>
			</div>
			<div class="pages navbar-through toolbar-through">
		        <div data-page="index" class="page">
					<div class="page-content" id="app_no_header">
						<!--内容区start-->
                <div class="product_bg">
                	<div class="image_box">
                		<div class="img-box full">
							<section class="img-section">
								<p class="up-p">@Language.Get("上传图片")：<span class="up-span">@Language.Get("最多可以上传5张图片，支持多张图片上传")</span></p>
								<div class="z_photo upimg-div clear" id="img_box">
									<div id="img_upding_now" class="img_upding_now" >
										<img src="~/Images/loading.gif" />
										<em>@Language.Get("上传中")....</em>
									</div>
										 <section class="z_file fl">
											<img src="/images/a11.png" class="add-img">
											<input type="file" name="file" id="file" class="file" value="" accept="image/jpg,image/jpeg,image/png,image/bmp" multiple />
										 </section>
								 </div>
							 </section>

							<section class="img-sections">
								<p class="up-p">@Language.Get("上传视频")></p>
								<div class="z_photo upimg-div clear" id="video_box">
									<div id="video_upding_now" class="img_upding_now">
										<img src="~/Images/loading.gif" />
										<em>@Language.Get("上传中")....</em>
									</div>
									<section class="z_file fl video_one" onclick="videofile(this)">
										<img src="/images/a12.png" class="add-img">
									</section>
								</div>
							</section>

						</div>
						<aside class="mask works-mask">
							<div class="mask-content">
								<p class="del-p">@Language.Get("您确定要删除图片吗？")</p>
								<p class="check-p"><span class="del-com wsdel-ok">@Language.Get("确定")</span><span class="wsdel-no">@Language.Get("取消")</span></p>
							</div>
						</aside>
						<aside class="mask tip_box" id="tip_box">
							<div class="mask-content tip_content">
								<p class="del-p tip_content" id="tip_content"></p>
								<p class="check-p"><span class="wsdel-no" id="close_tip_btn">@Language.Get("确定")</span></p>
							</div>
						</aside>
                	</div>
					<form name="ringForm" id="form_data" class="form_box" method="post" enctype='application/json'>
						<input type="text" id="id_input" style="display: none;"/>
						<div class="form_control">
							<input type="text" name="Images" id="Images" style="display: none;"/>
						</div>

						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("货号")：</label>
							<input type="text" placeholder="@Language.Get("货号")" name="OriginSN"/>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("系列名称")：</label>
							<input type="text" placeholder="@Language.Get("系列名称")" name="Series"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("品类")：</label>
							<select type="text"  name="Type" id="form_Type"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("风格")：</label>
							<select type="text"  name="Style" id="form_Style"></select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("款号")：</label>
							<input type="text" placeholder="@Language.Get("款号")" id="styleNo" name="StyleNo"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("主石工艺")：</label>
							<select type="text"  name="Technics" id="form_Technics"></select>
						</div>

						<div class="form_control">
							<label>@Language.Get("形状")：</label>
							<select type="text"  name="MainShape" id="form_MainShape"></select>
						</div>
						<div class="form_control">
							<label>@Language.Get("尺寸")：</label>
							<input type="text"  placeholder="@Language.Get("尺寸")" name="Measurement"/>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("是否现货")：</label>
							<label for="in_stock" class="point_label">
								<input type="radio" name="IsStock" value="1" id="in_stock" checked="checked"/>@Language.Get("现货")
							</label>
							<label for="Customized" class="point_label">
								<input type="radio" name="IsStock" value="2" id="Customized" />@Language.Get("定制")
							</label>
						</div>
						<div class="form_control">
							<label>@Language.Get("厂家")：</label>
							<input type="text"  placeholder="@Language.Get("厂家")" name="Manufactor"/>
						</div>
						<div class="form_control place_box">
							<label><b class="no_null">*</b>@Language.Get("所在地")：</label>
							<select name="Country" id="form_Country" style="width:110px"></select>
							<input type="text" name="State" placeholder="@Language.Get("省份地区")">
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("推荐")：</label>
							<select  name="Country" id="form_Tag"></select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("总重")：</label>
							<input type="number" placeholder="@Language.Get("总重")" name="TotalWeight" id="TotalWeight"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("副石重量")：</label>
							<input type="number" placeholder="@Language.Get("副石重量")" name="SideWeight"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("副石粒数")：</label>
							<input type="number" placeholder="@Language.Get("副石粒数")" id="sideNum" name="SideNum"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("副石工费")：</label>
							<input type="number"  placeholder="@Language.Get("副石工费")" value="0" id="sideLaborFee" name="SideLaborFee"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("副石总额")：</label>
							<input type="number" placeholder="@Language.Get("副石总额")" name="SidePrice" id="SidePrice"/>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("净金重")：</label>
							<input type="number" placeholder="@Language.Get("净金重")" name="NetGoldWeight" id="NetGoldWeight"/>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("损耗")：</label>
							<input type="number"  placeholder="@Language.Get("损耗")" value="0" name="Wastage" id="wastage"/>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("工费")：</label>
							<input type="number"  placeholder="@Language.Get("工费")" value="0" name="LaborFee" id="unitPrice"/>
						</div>

						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("保险费")：</label>
							<input  type="number"  placeholder="@Language.Get("保险费")" value="0" name="Insurance" id="insurance"/>
						</div>

						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("金价")：</label>
							<input type="number" id="g_price"  placeholder="@Language.Get("金价")" disabled="disabled"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("材质")：</label>
							<select type="text"  name="Material" id="form_material"></select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("主石重量")：</label>
							<input type="number" placeholder="@Language.Get("主石重量")" name="MainWeight"/>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("总价")：</label>
							<input type="number"  id="tolPrice" placeholder="@Language.Get("总价")" disabled="disabled"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("备注")：</label>
							<textarea name="Remark"></textarea>
						</div>
						<div class="form-group">
							<label for="CertType">@Language.Get("状态")：</label>
							<select class="form-control"  id="form_Status" name="Status">
							</select>
						</div>

						<div class="form_control">
							<label>@Language.Get("买金重")：</label>
							<input type="number"   placeholder="@Language.Get("买金重")" name="BuyGoldWeight"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("买金价")：</label>
							<input type="number"  placeholder="@Language.Get("买金价")" name="BuyGoldPrice"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("买副石工费")：</label>
							<input type="number"  placeholder="@Language.Get("买副石工费")" name="BuySideLaborFee"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("买副石价")：</label>
							<input type="number"  placeholder="@Language.Get("买副石价")" name="BuySidePrice"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("买耗")：</label>
							<input type="number"  placeholder="@Language.Get("买耗")" name="BuyWastage"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("买工费")：</label>
							<input type="number"  placeholder="@Language.Get("买工费")" name="BuyLaborFee"/>
						</div>
						<div class="form_control">
							<label>@Language.Get("保险费")：</label>
							<input  type="number"  placeholder="@Language.Get("保险费")"  />
						</div>
						<div class="form_control CurrentRMB">
							<label>@Language.Get("采")￥：</label>
							<input type="number" name="PurchaseRMB" placeholder="@Language.Get("采购")￥" id="purchaseRMB"/>
						</div>

						<div class="form_control">
							<label>@Language.Get("供应商")：</label>
							<input type="text" name="PurchaseSupplier" placeholder="@Language.Get("供应商")"/>
						</div>

						<div class="form_control">
							<label>@Language.Get("采购人")：</label>
							<select name="PurchaseAgent" id="purchaseAgent"></select>
						</div>
						<div class="form_control">
							<label><b class="no_null">*</b>@Language.Get("付款")：</label>
							<select name="ReceiptStatus" id="form_ReceiptStatus">
								 <option value="">@Language.Get("付款")</option>
							</select>
						</div>
						<div class="form_control">
							<label>@Language.Get("到货时间")：</label>
							<input type="text" name="ArrivalTime" placeholder="@Language.Get("选择日期")" readonly id="data_ArrivalTime">
						</div>
						<div class="form_control">
							<label>@Language.Get("详情")：</label>
							<textarea name="Details"></textarea>
						</div>
					</form>
                </div>
         <!--</article>-->


		                <!--内容区end-->

        			 </div>
		       		</div>
		       </div>
			</div>
		</div>

    </body>
    
</html>
@Html.Partial("commonTeamJs")
<script>
    var list=@Html.Raw(ViewBag.PurchaseAgents);
</script>
<script src="~/Js/jquery.validate.min.js"></script>
<script src="~/Js/jquery.form.js"></script>
<script src="~/js/imgUp.js?v=@Wholesaler.Common.Version.Get"></script>
<script src="~/js/jquery.dad.js?v=@Wholesaler.Common.Version.Get"></script>
<script>
	var calendarDateFormat = myApp.calendar({
        input: '#data_ShipTime',
        monthNames: ['01'+_(''+_('月')), '02'+_('月'), '03'+_('月'), '04'+_('月'), '05'+_('月'), '06'+_('月'), '07'+_('月'), '08'+_('月') , '09'+_('月') , '10'+_('月'), '11'+_('月'), '12'+_('月')],
        dayNamesShort: [_('日'), _('一'), _('二'), _('三'), _('四'), _('五'), _('六')],
        closeOnSelect:true,
	});
	var calendarDateFormat = myApp.calendar({
        input: '#data_PurchaseTime',
        monthNames: ['01'+_(''+_('月')), '02'+_('月'), '03'+_('月'), '04'+_('月'), '05'+_('月'), '06'+_('月'), '07'+_('月'), '08'+_('月') , '09'+_('月') , '10'+_('月'), '11'+_('月'), '12'+_('月')],
        dayNamesShort: [_('日'), _('一'), _('二'), _('三'), _('四'), _('五'), _('六')],
        closeOnSelect:true,
	});
	var calendarDateFormat = myApp.calendar({
        input: '#data_ArrivalTime',
        monthNames: ['01'+_(''+_('月')), '02'+_('月'), '03'+_('月'), '04'+_('月'), '05'+_('月'), '06'+_('月'), '07'+_('月'), '08'+_('月') , '09'+_('月') , '10'+_('月'), '11'+_('月'), '12'+_('月')],
        dayNamesShort: [_('日'), _('一'), _('二'), _('三'), _('四'), _('五'), _('六')],
        closeOnSelect:true,
    });

	//库存管理图片拖拽
	$("#img_box").dad({
		draggable:'.up-img'
	});
</script>
<script src="~/js/team/product.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script>
<script src="~/js/team/inlaysettings_form.js?v=@Wholesaler.Common.Version.Get" type="text/javascript"></script>
